(function(){
	function $(id){
		return document.getElementById(id);
	}
	function alertNodeName(id){
		if(document.getElementById(id)){
			alert(111);
		}
		if($(id)){
			alert($(id).nodeName);
		}else{
			alert(323);
		}
	}
	window['BAOCCLIB']={};
	window['BAOCCLIB']['core']={}
	window['BAOCCLIB']['core']['showNodeName']=alertNodeName;
})();
window.onload=function(){
	BAOCCLIB.core.showNodeName("test");
}